home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / SmallEiffel 0.3.3 / SmallEiffel 68k / lib_test / test_array_reference2.e < prev    next >
Encoding:
Text File  |  1996-06-13  |  381 b   |  26 lines  |  [TEXT/EDIT]

  1. -- Part of SmallEiffel -- Read DISCLAIMER file -- Copyright (C) 
  2. -- Dominique COLNET and Suzanne COLLIN -- colnet@loria.fr
  3. --
  4. class TEST_ARRAY_REFERENCE2
  5. --
  6. -- Test Reference/ARRAY.
  7. --
  8.    
  9. creation {ANY}
  10.    make
  11.    
  12. feature {ANY}
  13.    
  14.    a1, a2: ARRAY[CAT];
  15.    c: CAT;
  16.  
  17.    make is
  18.       do
  19.      !!c;
  20.  
  21.      a1 := <<c>>;
  22.      a2 := clone(a1);
  23.       end;
  24.    
  25. end -- class TEST_ARRAY_REFERENCE2
  26.